home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2b | 2b 0a 50 61 74 68 3a 20 |.lang.c+|+.Path: |
|00000020| 6e 65 77 73 2e 6e 65 72 | 2e 62 62 6e 70 6c 61 6e |news.ner|.bbnplan|
|00000030| 65 74 2e 6e 65 74 21 61 | 72 63 6f 21 75 73 65 6e |et.net!a|rco!usen|
|00000040| 65 74 0a 46 72 6f 6d 3a | 20 42 72 69 61 6e 20 4c |et.From:| Brian L|
|00000050| 65 61 63 68 20 3c 6c 61 | 73 62 66 6c 3e 0a 53 75 |each <la|sbfl>.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 70 6f 6c 79 6d |bject: R|e: polym|
|00000070| 6f 72 70 68 69 73 6d 20 | 61 6e 64 20 73 74 79 6c |orphism |and styl|
|00000080| 65 0a 58 2d 4e 6e 74 70 | 2d 50 6f 73 74 69 6e 67 |e.X-Nntp|-Posting|
|00000090| 2d 48 6f 73 74 3a 20 31 | 33 36 2e 32 32 36 2e 31 |-Host: 1|36.226.1|
|000000a0| 31 36 2e 31 0a 43 6f 6e | 74 65 6e 74 2d 54 79 70 |16.1.Con|tent-Typ|
|000000b0| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|000000c0| 68 61 72 73 65 74 3d 75 | 73 2d 61 73 63 69 69 0a |harset=u|s-ascii.|
|000000d0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 44 6e 49 |Message-|ID: <DnI|
|000000e0| 36 49 49 2e 4b 4d 74 40 | 6e 65 77 73 2e 61 72 63 |6II.KMt@|news.arc|
|000000f0| 6f 2e 63 6f 6d 3e 0a 54 | 6f 3a 20 65 6c 69 7a 65 |o.com>.T|o: elize|
|00000100| 77 73 6b 40 63 61 70 65 | 63 6f 64 2e 6e 65 74 0a |wsk@cape|cod.net.|
|00000110| 53 65 6e 64 65 72 3a 20 | 75 73 65 6e 65 74 40 6e |Sender: |usenet@n|
|00000120| 65 77 73 2e 61 72 63 6f | 2e 63 6f 6d 0a 43 6f 6e |ews.arco|.com.Con|
|00000130| 74 65 6e 74 2d 54 72 61 | 6e 73 66 65 72 2d 45 6e |tent-Tra|nsfer-En|
|00000140| 63 6f 64 69 6e 67 3a 20 | 37 62 69 74 0a 4f 72 67 |coding: |7bit.Org|
|00000150| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 41 52 43 4f 20 |anizatio|n: ARCO |
|00000160| 4f 69 6c 20 25 20 47 61 | 73 20 43 6f 6d 70 61 6e |Oil % Ga|s Compan|
|00000170| 79 0a 52 65 66 65 72 65 | 6e 63 65 73 3a 20 3c 34 |y.Refere|nces: <4|
|00000180| 67 72 34 75 72 24 6e 31 | 33 40 61 6c 70 68 61 2e |gr4ur$n1|3@alpha.|
|00000190| 70 63 69 78 2e 63 6f 6d | 3e 0a 4d 69 6d 65 2d 56 |pcix.com|>.Mime-V|
|000001a0| 65 72 73 69 6f 6e 3a 20 | 31 2e 30 0a 44 61 74 65 |ersion: |1.0.Date|
|000001b0| 3a 20 57 65 64 2c 20 32 | 38 20 46 65 62 20 31 39 |: Wed, 2|8 Feb 19|
|000001c0| 39 36 20 32 30 3a 33 35 | 3a 30 35 20 47 4d 54 0a |96 20:35|:05 GMT.|
|000001d0| 58 2d 4d 61 69 6c 65 72 | 3a 20 4d 6f 7a 69 6c 6c |X-Mailer|: Mozill|
|000001e0| 61 20 31 2e 31 32 20 28 | 58 31 31 3b 20 49 3b 20 |a 1.12 (|X11; I; |
|000001f0| 48 50 2d 55 58 20 41 2e | 30 39 2e 30 35 20 39 30 |HP-UX A.|09.05 90|
|00000200| 30 30 2f 37 35 35 29 0a | 58 2d 55 72 6c 3a 20 6e |00/755).|X-Url: n|
|00000210| 65 77 73 3a 34 67 72 34 | 75 72 24 6e 31 33 40 61 |ews:4gr4|ur$n13@a|
|00000220| 6c 70 68 61 2e 70 63 69 | 78 2e 63 6f 6d 0a 0a 65 |lpha.pci|x.com..e|
|00000230| 64 20 6c 69 7a 65 77 73 | 6b 69 20 3c 65 6c 69 7a |d lizews|ki <eliz|
|00000240| 65 77 73 6b 40 63 61 70 | 65 63 6f 64 2e 6e 65 74 |ewsk@cap|ecod.net|
|00000250| 3e 20 77 72 6f 74 65 3a | 0a 3e 20 20 51 75 65 73 |> wrote:|.> Ques|
|00000260| 74 69 6f 6e 20 6f 6e 20 | 70 6f 6c 79 6d 6f 72 70 |tion on |polymorp|
|00000270| 68 69 73 6d 20 61 6e 64 | 20 73 74 79 6c 65 2e 0a |hism and| style..|
|00000280| 3e 57 61 6e 74 20 74 6f | 20 63 61 6c 6c 20 61 20 |>Want to| call a |
|00000290| 66 75 6e 63 74 69 6f 6e | 20 69 6e 20 61 20 6d 6f |function| in a mo|
|000002a0| 73 74 20 64 65 72 69 76 | 65 64 20 63 6c 61 73 73 |st deriv|ed class|
|000002b0| 20 6f 66 66 20 61 20 70 | 6f 69 6e 74 65 72 20 74 | off a p|ointer t|
|000002c0| 6f 20 74 68 65 20 62 61 | 73 65 0a 3e 63 6c 61 73 |o the ba|se.>clas|
|000002d0| 73 2e 20 54 68 65 20 66 | 75 63 74 69 6f 6e 20 64 |s. The f|uction d|
|000002e0| 6f 65 73 20 6e 6f 74 20 | 65 78 69 73 74 20 69 6e |oes not |exist in|
|000002f0| 20 74 68 65 20 62 61 73 | 65 20 63 6c 61 73 73 2e | the bas|e class.|
|00000300| 0a 3e 49 20 73 68 6f 75 | 6c 64 3a 0a 3e 31 29 64 |.>I shou|ld:.>1)d|
|00000310| 6f 77 6e 63 61 73 74 20 | 3f 0a 3e 32 29 61 64 64 |owncast |?.>2)add|
|00000320| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 20 74 6f | the fun|ction to|
|00000330| 20 74 68 65 20 62 61 73 | 65 20 63 6c 61 73 73 20 | the bas|e class |
|00000340| 61 6e 64 20 61 64 64 20 | 76 69 72 74 75 61 6c 20 |and add |virtual |
|00000350| 73 74 75 62 73 20 74 6f | 20 65 76 65 72 79 20 0a |stubs to| every .|
|00000360| 3e 20 20 63 6c 61 73 73 | 20 74 68 61 74 20 64 6f |> class| that do|
|00000370| 65 73 20 6e 6f 74 20 75 | 73 65 20 69 74 20 3f 20 |es not u|se it ? |
|00000380| 0a 3e 33 29 61 64 64 20 | 69 74 20 74 6f 20 74 68 |.>3)add |it to th|
|00000390| 65 20 62 61 73 65 20 63 | 6c 61 73 73 20 62 75 74 |e base c|lass but|
|000003a0| 20 64 65 66 69 6e 65 20 | 69 74 20 6c 69 6b 65 20 | define |it like |
|000003b0| 0a 3e 20 20 20 20 20 66 | 6f 6f 28 20 2e 2e 77 68 |.> f|oo( ..wh|
|000003c0| 61 74 65 76 65 72 2e 2e | 29 20 7b 65 72 72 6f 72 |atever..|) {error|
|000003d0| 5f 6d 73 67 28 22 76 69 | 72 74 75 61 6c 20 66 75 |_msg("vi|rtual fu|
|000003e0| 6e 63 74 69 6f 6e 20 6e | 6f 74 20 64 65 66 69 6e |nction n|ot defin|
|000003f0| 65 64 22 29 3b 7d 0a 3e | 20 20 54 68 69 73 20 77 |ed");}.>| This w|
|00000400| 61 79 20 6f 6e 6c 79 20 | 74 68 65 20 63 6c 61 73 |ay only |the clas|
|00000410| 73 20 74 68 61 74 20 75 | 73 65 73 20 69 74 20 77 |s that u|ses it w|
|00000420| 6f 75 6c 64 20 68 61 76 | 65 20 74 6f 20 64 65 66 |ould hav|e to def|
|00000430| 69 6e 65 20 69 74 2e 0a | 3e 34 29 20 3f 0a 3e 20 |ine it..|>4) ?.> |
|00000440| 0a 3e 74 68 61 6e 6b 73 | 20 66 6f 72 20 79 6f 75 |.>thanks| for you|
|00000450| 72 20 74 69 6d 65 2e 0a | 0a 49 74 20 68 61 73 20 |r time..|.It has |
|00000460| 62 65 65 6e 20 6d 79 20 | 65 78 70 65 72 69 65 6e |been my |experien|
|00000470| 63 65 20 74 68 61 74 20 | 62 61 73 65 20 63 6c 61 |ce that |base cla|
|00000480| 73 73 65 73 20 73 68 6f | 75 6c 64 20 70 65 72 66 |sses sho|uld perf|
|00000490| 6f 72 6d 20 61 20 73 70 | 65 63 69 66 69 63 20 66 |orm a sp|ecific f|
|000004a0| 75 6e 63 74 69 6f 6e 0a | 61 6e 64 20 6e 6f 74 20 |unction.|and not |
|000004b0| 62 65 20 63 6c 75 74 74 | 65 72 65 64 20 75 70 20 |be clutt|ered up |
|000004c0| 77 69 74 68 20 65 6c 65 | 6d 65 6e 74 73 20 6e 6f |with ele|ments no|
|000004d0| 74 20 72 65 6c 61 74 65 | 64 20 74 6f 20 74 68 61 |t relate|d to tha|
|000004e0| 74 20 73 70 65 63 69 66 | 69 63 20 66 75 6e 63 74 |t specif|ic funct|
|000004f0| 69 6f 6e 2e 20 49 0a 6b | 6e 6f 77 20 74 68 69 73 |ion. I.k|now this|
|00000500| 20 69 73 6e 27 74 20 74 | 68 65 20 61 6e 73 77 65 | isn't t|he answe|
|00000510| 72 20 79 6f 75 72 20 6c | 6f 6f 6b 69 6e 67 20 66 |r your l|ooking f|
|00000520| 6f 72 2c 20 62 75 74 20 | 6d 61 79 62 65 20 79 6f |or, but |maybe yo|
|00000530| 75 20 6e 65 65 64 20 74 | 6f 20 74 61 6b 65 20 61 |u need t|o take a|
|00000540| 6e 6f 74 68 65 72 0a 6c | 6f 6f 6b 20 61 74 20 79 |nother.l|ook at y|
|00000550| 6f 75 72 20 64 65 73 69 | 67 6e 2e 0a 0a 54 68 65 |our desi|gn...The|
|00000560| 20 72 6f 61 64 20 79 6f | 75 20 61 72 65 20 61 62 | road yo|u are ab|
|00000570| 6f 75 74 20 74 6f 20 77 | 61 6c 6b 20 64 6f 77 6e |out to w|alk down|
|00000580| 20 77 69 6c 6c 20 6c 65 | 61 64 20 74 6f 20 76 65 | will le|ad to ve|
|00000590| 72 79 20 64 69 66 66 69 | 63 75 6c 74 20 74 6f 20 |ry diffi|cult to |
|000005a0| 6d 61 69 6e 74 61 69 6e | 20 61 6e 64 0a 75 73 65 |maintain| and.use|
|000005b0| 20 63 6c 61 73 73 65 73 | 2e 2e 0a 2d 2d 20 0a 42 | classes|...-- .B|
|000005c0| 72 69 61 6e 20 46 2e 20 | 4c 65 61 63 68 0a 53 72 |rian F. |Leach.Sr|
|000005d0| 2e 20 53 79 73 74 65 6d | 73 20 41 6e 61 6c 79 73 |. System|s Analys|
|000005e0| 74 0a 6c 61 73 62 66 6c | 40 61 61 69 2e 61 72 63 |t.lasbfl|@aai.arc|
|000005f0| 6f 2e 63 6f 6d 0a 0a | |o.com.. | |
+--------+-------------------------+-------------------------+--------+--------+